package com.example.application.bean;

import java.io.Serializable;
import java.util.List;

/**
 *宠主类
 */
public class PetOwner implements Serializable {
    //宠主id
    private Integer id;
    //电话号码
    private String telNum;
    //昵称
    private String nickname;
    //真实姓名
    private String realName;
    //会员卡号
    private String vipNum;
    //头像
    private String pic;
    //送货地址
    private String address;
    //区域
    private String region;
    //积分
    private int integral;
    //宠物
    private String petName;
    //订单集合
    private List<Order> orders;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTelNum() {
        return telNum;
    }

    public void setTelNum(String telNum) {
        this.telNum = telNum;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getVipNum() {
        return vipNum;
    }

    public void setVipNum(String vipNum) {
        this.vipNum = vipNum;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public String getPetName() {
        return petName;
    }

    public void setPetName(String petName) {
        this.petName = petName;
    }

    public List<Order> getOrders() {
        return orders;
    }

    public void setOrders(List<Order> orders) {
        this.orders = orders;
    }

    @Override
    public String toString() {
        return "PetOwner{" +
                "id=" + id +
                ", telNum='" + telNum + '\'' +
                ", nickname='" + nickname + '\'' +
                ", realName='" + realName + '\'' +
                ", vipNum='" + vipNum + '\'' +
                ", pic='" + pic + '\'' +
                ", address='" + address + '\'' +
                ", region='" + region + '\'' +
                ", integral=" + integral +
                ", petName='" + petName + '\'' +
                ", orders=" + orders +
                '}';
    }
}
